﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XuanXiang.Infrastructure.Dto.Response.Home
{
    public class Home_Cartogram_Dto
    {
        /// <summary>
        /// 今日订单量/交易额数据
        /// </summary>
        public Details_Dto? today { get; set; }=new Details_Dto();

        /// <summary>
        /// 本周对比
        /// </summary>

        public Details_Dto? week { get; set; } = new Details_Dto();

        /// <summary>
        /// 本月
        /// </summary>
        public Details_Dto? month { get; set; } = new Details_Dto();

        public List<string?>? days { get; set; } = new List<string?>();
        /// <summary>
        /// 每日供应商新增数
        /// </summary>
        public List<int?>? supplierNew { get; set; }=new List<int?>();

        /// <summary>
        /// 每日商户新增数
        /// </summary>
        public List<int?>? merchantNew { get; set; } = new List<int?>();

    }

    public class Details_Dto {
        /// <summary>
        /// 时间
        /// ['00:00','02:00']/['周一','周二']/['1日','5日']
        /// </summary>
        public List<string?>? xAxis { get; set; } = new List<string?>();

        /// <summary>
        /// 订单数据
        /// </summary>
        public List<int?>? orderData { get; set; }= new List<int?>();

        /// <summary>
        /// 交易额
        /// </summary>
        public List<double?>? amountData { get; set; } = new List<double?>();
    }

 
}
